package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Max
 * @since 2020-04-02
 */
@TableName("Z_COMMAND_SEND")
public class CommandSend extends Model<CommandSend> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
   @TableField("MESSAGE_ID")
   private String messageId;
   @TableField("REQ_ID")
   private String reqId;
   @TableField("FACTORY")
   private String factory;
   @TableField("LINE_ID")
   private String lineId;
   @TableField("OPERATION")
   private String operation;
   @TableField("STATION")
   private String station;
   @TableField("RESRCE")
   private String resrce;
   @TableField("RESRCE_DESC")
   private String resrceDesc;
   @TableField("SEND_TIME")
   private Date sendTime;
   @TableField("MODE")
   private String mode;
   @TableField("CODE")
   private String code;
   @TableField("MESSAGE")
   private String message;
   @TableField("USER_ID")
   private String userId;
   @TableField("RESULT")
   private String result;
   @TableField("RETURN_MESSAGE")
   private String returnMessage;
   @TableField("CREATOR")
   private String creator;
   @TableField("UPDATER")
   private String updater;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getMessageId() {
      return messageId;
   }

   public void setMessageId(String messageId) {
      this.messageId = messageId;
   }

   public String getReqId() {
      return reqId;
   }

   public void setReqId(String reqId) {
      this.reqId = reqId;
   }

   public String getFactory() {
      return factory;
   }

   public void setFactory(String factory) {
      this.factory = factory;
   }

   public String getLineId() {
      return lineId;
   }

   public void setLineId(String lineId) {
      this.lineId = lineId;
   }

   public String getOperation() {
      return operation;
   }

   public void setOperation(String operation) {
      this.operation = operation;
   }

   public String getStation() {
      return station;
   }

   public void setStation(String station) {
      this.station = station;
   }

   public String getResrce() {
      return resrce;
   }

   public void setResrce(String resrce) {
      this.resrce = resrce;
   }

   public String getResrceDesc() {
      return resrceDesc;
   }

   public void setResrceDesc(String resrceDesc) {
      this.resrceDesc = resrceDesc;
   }

   public Date getSendTime() {
      return sendTime;
   }

   public void setSendTime(Date sendTime) {
      this.sendTime = sendTime;
   }

   public String getMode() {
      return mode;
   }

   public void setMode(String mode) {
      this.mode = mode;
   }

   public String getCode() {
      return code;
   }

   public void setCode(String code) {
      this.code = code;
   }

   public String getMessage() {
      return message;
   }

   public void setMessage(String message) {
      this.message = message;
   }

   public String getUserId() {
      return userId;
   }

   public void setUserId(String userId) {
      this.userId = userId;
   }

   public String getResult() {
      return result;
   }

   public void setResult(String result) {
      this.result = result;
   }

   public String getReturnMessage() {
      return returnMessage;
   }

   public void setReturnMessage(String returnMessage) {
      this.returnMessage = returnMessage;
   }

   public String getCreator() {
      return creator;
   }

   public void setCreator(String creator) {
      this.creator = creator;
   }

   public String getUpdater() {
      return updater;
   }

   public void setUpdater(String updater) {
      this.updater = updater;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String MESSAGE_ID = "MESSAGE_ID";

   public static final String REQ_ID = "REQ_ID";

   public static final String FACTORY = "FACTORY";

   public static final String LINE_ID = "LINE_ID";

   public static final String OPERATION = "OPERATION";

   public static final String STATION = "STATION";

   public static final String RESRCE = "RESRCE";

   public static final String RESRCE_DESC = "RESRCE_DESC";

   public static final String SEND_TIME = "SEND_TIME";

   public static final String MODE = "MODE";

   public static final String CODE = "CODE";

   public static final String MESSAGE = "MESSAGE";

   public static final String USER_ID = "USER_ID";

   public static final String RESULT = "RESULT";

   public static final String RETURN_MESSAGE = "RETURN_MESSAGE";

   public static final String CREATOR = "CREATOR";

   public static final String UPDATER = "UPDATER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "CommandSend{" +
         "handle = " + handle +
         ", site = " + site +
         ", messageId = " + messageId +
         ", reqId = " + reqId +
         ", factory = " + factory +
         ", lineId = " + lineId +
         ", operation = " + operation +
         ", station = " + station +
         ", resrce = " + resrce +
         ", resrceDesc = " + resrceDesc +
         ", sendTime = " + sendTime +
         ", mode = " + mode +
         ", code = " + code +
         ", message = " + message +
         ", userId = " + userId +
         ", result = " + result +
         ", returnMessage = " + returnMessage +
         ", creator = " + creator +
         ", updater = " + updater +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}